package com.sky.mapper;

import com.github.pagehelper.Page;
import com.sky.entity.Category;
import org.apache.ibatis.annotations.Mapper;

@Mapper
public interface CategoryMapper {

    void insert(Category category) ;

    Page<Category> queryByPage(Integer page, Integer pageSize, String name, Integer type);
}
